<template>
	<view class="goods-item">
		<view class="goods-img">
			<base-img src='/static/goods-img.png'></base-img>
		</view>
		<view class="goods-info">
			<view class="goods-name">
				金贵特曲 500ml/瓶金贵特曲 500ml/瓶金贵特曲 500ml/瓶金贵特曲 500ml/瓶金贵特曲 500ml/金贵特曲 500ml/瓶金贵特曲 500ml/瓶金贵特曲 500ml/瓶
			</view>
			<view class="goods-price-wrap">
				<view class="left-goods-price">
					<view class="sale-price">
						<text>￥</text>199.00
					</view>
					<view class="line-price">
						￥200.00
					</view>
				</view>
				<view class="cart">
					<image src='/static/cart.png'></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"goods-item",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.goods-item{
		width: 340rpx;
		background: #fff;
		border-radius: 8rpx;
		overflow: hidden;
	}
	.goods-img{
		width: 100%;
		height: 340rpx;
		image{
			width: 100%;
			height: 100%;
		}
	}
	.goods-info{
		padding:16rpx 24rpx 16rpx;
		background: #fff;
	}
	.goods-name{
		width: 100%;
		height: 78rpx;
		font-size: 26rpx;
		line-height: 40rpx;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.goods-price-wrap{
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		.sale-price{
			font-size: 28rpx;
			color:$supplier-single-color;
			font-weight: bold;
			padding-top:16rpx;
			text{
				font-size: 22rpx;
			}
		}
		.line-price{
			color:#d4d4d4;
			font-size: 24rpx;
			text-decoration: line-through;
		}
		.cart{
			width: 40rpx;
			height: 40rpx;
			position: relative;
			bottom:6rpx;
			image{
				width: 100%;
				height: 100%;
			}
		}
	}

</style>